Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set context for shortcuts in ConsoleWidget #763

Merged
merged 1 commit into from Sep 7, 2011
Merged

Set context for shortcuts in ConsoleWidget #763

merged 1 commit into from Sep 7, 2011

Conversation

punchagan
Copy link
Contributor

The default value of Qt.WindowShortcut causes a problem when IPython is embedded as a widget in other applications.

Setting the shortcut context to Qt.WidgetWithChildrenShortcut

@minrk
Copy link
Member

minrk commented Sep 6, 2011

I don't think this commit does what you think it does. It just deletes almost all of console_widget.py

@punchagan
Copy link
Contributor Author

I'm sorry. I was trying the new editor of GitHub and seems like one of my browser plugins + the editor created some problems.

I pushed the correct changes, now. Thanks!

@jdmarch
Copy link

jdmarch commented Sep 6, 2011

Works for me, OSX and Windows 7.

@epatters
Copy link
Contributor

epatters commented Sep 7, 2011

These shortcuts should never have been added to ConsoleWidget in the first place, as shortcuts for printing and saving are an application-level matter. At some point, they should be moved out of ConsoleWidget and into QtConsoleApp.

I don't have time to refactor this now, though, so I'm going to merge this. Thanks for the fix, @punchagan.

epatters added a commit that referenced this pull request Sep 7, 2011
Set context for shortcuts in ConsoleWidget
@epatters epatters merged commit ac6d8ef into ipython:master Sep 7, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Set context for shortcuts in ConsoleWidget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants